package com.sichen.search.service;

import com.sichen.common.to.es.SkuEsModel;

import java.io.IOException;
import java.util.List;

/**
 * 商品服务的ES的增加接口
 * <p>Created with IntelliJ IDEA.
 * <p>Author: 思尘
 * <p>Created time: 2022-09-12 16:15
 * <p>Version: V1.0
 */
public interface ProductSaveService {
    /**
     * 上架商品
     * @param skuEsModels 上架商品的数据
     */
    boolean productStatusUp(List<SkuEsModel> skuEsModels) throws IOException;
}
